package com.zrc.superframe_base.mvx.mvvm

import android.os.Bundle
import androidx.lifecycle.ViewModel

/**
 * @Author: superman
 * @CreateTime: 6/27/21
 * @Describe:
 */
abstract class BaseViewModel : ViewModel() {

    data class SmartData<T>(val code: Int=0,
                            val msg: String="",
                            val isRefrensh: Boolean=true,
                            val data: T)

    abstract fun attach(savedInstanceState: Bundle?)

}
